<?php
$movies = $data['movies'];
foreach ($movies as $movie) {
    ?>
    <div class="right-item">
        <div class="right-item-image">
            <img src="<?php echo $movie['image'];?>"/>
        </div>
        <div class="right-item-info">
            <span class="movies-name"><?php echo Lib_Util::subStringByWord($movie['title'], 4);?></span>
        </div>
        <div class="right-item-add">
            <a class="button-add">Add to cart</a>
        </div>
    </div>
    <?php
}
?>
